package com.isky.visual.func.controller;


import com.isky.visual.func.entity.MashupT;
import com.isky.visual.func.service.IMashupTService;
import com.isky.visual.result.ResultVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wudl
 * @since 2020-04-28
 */
@RestController
@RequestMapping("/func/mashup")
@Api(tags = {"聚合函数接口"})
public class MashupTController {

    @Autowired
    IMashupTService mashupTService;
    @GetMapping(value = "/getListMashup")
    @ApiOperation("获取聚合函数的接口")
    public ResultVo<List<MashupT>>  getListMashup()
    {
      return   mashupTService.getListMashup();
    }

}
